package com.diankangwo.factory.dao;

import com.diankangwo.factory.entity.TdShoppingcart;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Mapper
@Repository
public interface TdShoppingcartMapper {

    int deleteByPrimaryKey(Integer id);

    int insert(TdShoppingcart record);

    int insertSelective(TdShoppingcart record);

    TdShoppingcart selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(TdShoppingcart record);

    int updateByPrimaryKey(TdShoppingcart record);

    List<TdShoppingcart> selectByCommId(int id);
}